﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.DocModel.APIResultModel
{
    public class ErrorWordResult
    {
        public int cp_id { get; set; }
        public int file_id { get; set; }
        /// <summary>
        ///  课件名称
        /// </summary>
        public string file_name { get; set; }
        /// <summary>
        ///  关卡名称
        /// </summary>
        public string cp_name { get; set; }
        /// <summary>
        ///  错误次数
        /// </summary>
        public int err_num { get; set; }
        /// <summary>
        ///  序号
        /// </summary>
        public int num { get; set; }
        /// <summary>
        ///  错误单词
        /// </summary>
        public string word { get; set; }
        /// <summary>
        ///  音标
        /// </summary>
        public string gj_symbol { get; set; }
        /// <summary>
        ///  词性
        /// </summary>
        public string cp_type { get; set; }
        /// <summary>
        ///  中文解释
        /// </summary>
        public string china_mean { get; set; }
        /// <summary>
        ///  是否有正确
        ///  1：有正确记录
        ///  0：没有正确记录
        /// </summary>
        public int isOk { get; set; }
        /// <summary>
        ///  排序字段
        /// </summary>
        public int cp_order { get; set; }
    }
    public class ErrorWordList
    {
        /// <summary>
        ///  错误单词
        /// </summary>
        public string word { get; set; }
        /// <summary>
        ///  是否有正确
        ///  1：有正确记录
        ///  0：没有正确记录
        /// </summary>
        public int isOk { get; set; }
        public List<ErrorWordChild> wordMean { get; set; }
    }
    public class ErrorWordChild
    {
        /// <summary>
        ///  音标
        /// </summary>
        public string gj_symbol { get; set; }
        /// <summary>
        ///  词性
        /// </summary>
        public string cp_type { get; set; }
        /// <summary>
        ///  中文解释
        /// </summary>
        public string china_mean { get; set; }
        /// <summary>
        ///  课件名称
        /// </summary>
        public string file_name { get; set; }
        /// <summary>
        ///  关卡名称
        /// </summary>
        public string cp_name { get; set; }
        /// <summary>
        ///  错误次数
        /// </summary>
        public int err_num { get; set; }
    }

    public class UserErrorList
    {
        /// <summary>
        ///  课件
        /// </summary>
        public string file_name { get; set; }
        /// <summary>
        ///  关卡
        /// </summary>
        public List<ErrorCpName> cell { get; set; }
    }
    public class ErrorCpName
    {
        /// <summary>
        ///  关卡
        /// </summary>
        public string cp_name { get; set; }
        /// <summary>
        ///  错误单词
        /// </summary>
        public List<ErrorWord> word { get; set; }
    }
    public class ErrorWord
    {
        /// <summary>
        ///  单词
        /// </summary>
        public string word { get; set; }
        /// <summary>
        ///  错误次数
        /// </summary>
        public int err_num { get; set; }
        /// <summary>
        ///  序号
        /// </summary>
        public int num { get; set; }
        /// <summary>
        ///  音标
        /// </summary>
        public string gj_symbol { get; set; }
        /// <summary>
        ///  词性
        /// </summary>
        public string cp_type { get; set; }
        /// <summary>
        ///  中文解释
        /// </summary>
        public string china_mean { get; set; }
        /// <summary>
        ///  是否有正确
        ///  1：有正确记录
        ///  0：没有正确记录
        /// </summary>
        public int isOk { get; set; }
    }
}
